<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<%@include file="blocks/header.jsp" %>

<div class="row">
    <h4>Личный кабинет врача</h4>
    <div class="span6">
        <table class="table table-hover">
            <thead>
            <tr>
                <th>id</th>
                <th>Пациент</th>
                <th></th>
            </tr>
            </thead>
            <tbody>
            <c:forEach var="patient" items="${user.patients}">
                <tr>
                    <td>${patient.id}</td>
                    <td>${patient.fullName}</td>
                    <td><a href="/doctor/patientCard/${patient.id}.html">Карточка пациента</a></td>
                </tr>
            </c:forEach>
            </tbody>
        </table>
    </div>

</div>


<%@include file="blocks/footer.jsp" %>